<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<form id="webform">
<c:if test="${not empty bean.id}">
<input type="hidden" name="bean.id" value="${bean.id}" />
</c:if>
<fieldset>
<legend>注册应用域</legend>
   <table>
     <tbody>
      <tr>
       <td>SSL加密协议</td>
       <td>
          
          <input name="bean.secure" type="checkbox" value="true" ${bean.secure?"checked":""} />
        </td>
      </tr>
      <tr>
       <td>名称</td>
       <td><input name="bean.name"  value="${bean.name }" /></td>
      </tr>
      <tr>
       <td>域名</td>
       <td><input name="bean.domain"  value="${bean.domain }" /></td>
      </tr>
      
      <tr>
       <td>端口[数字]</td>
       <td><input name="bean.port"  onblur="judgeNumber(this);"  value="${bean.port }"/></td>
      </tr>
      
      <tr>
       <td>路径</td>
       <td><input name="bean.context" value="${bean.context}" /></td>
      </tr>
      
     </tbody>
     <tfoot>
       <tr>
         <td>
         <button type="button" id="saveBtn">保存</button>
         </td>
       </tr>
     </tfoot>
   </table>
</fieldset>
</form>
